package com.zwy.ubts.dao;

import com.zwy.ubts.bean.Address;
import com.zwy.ubts.bean.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author Zhou Wenying
 * @Description:
 * @Date Created in 14:50 2023/3/31
 */
public interface OrderDao extends BaseDao{
    int insertOrder(Order order); //添加订单信息
    List<Order> selectOrderByOwnerUserId(@Param("userId") Integer userId);
    List<Order> selectOrderByOtherUserId(@Param("like") String like);
    Integer updateBookIdById(Order order);
    Order selectOrderById(@Param("orderId") Integer orderId);
}
